<p>myc04-productlist works!</p>
<table class="gridtable">
  <tbody>
  <tr *ngIf="productList.length < 1">
    <td colspan="5">暂时没有数据</td>
  </tr>
  <tr *ngFor="let p of productList">
    <td>
      {{p.id}}
    </td>
    <td>
      {{p.name}}
    </td>
    <td>
      {{p.subTitle}}
    </td>
    <td>
      {{p.stock}} {{p.unit}}
    </td>
    <td>
      <button>删除</button>
    </td>
  </tr>
  </tbody>
</table>
<button (click)="loadMore()">load more</button>


